package org.liverpool.trial;

public class StringToken {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String s  = "7 Stewart Road,,,CURRIE,Midlothian,EH14 5SH,GB";
		
		String [] toks = s.split(",");
		
		System.out.println(toks.length);
		for (int i = 0;i < toks.length; i++){
			System.out.println("i = " + i + ", Tok = " + toks[i]);
		}
	}

}
